#!/bin/bash

DAEMON_APP_ID=$1

launchctl unload /Library/LaunchDaemons/$DAEMON_APP_ID.plist
rm /Library/LaunchDaemons/$DAEMON_APP_ID.plist
rm -R /Library/PrivilegedHelperTools/$DAEMON_APP_ID.app
defaults delete $DAEMON_APP_ID
